package com.wing.product.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.common.utils.JsonResult;
import com.wing.product.model.entity.WarehouseProductMarkPrice;

import java.util.List;
import java.util.Map;

public interface WarehouseProductMarkPriceService extends IService<WarehouseProductMarkPrice> {

    Page<Map> pageList4app(Page page, Map<String, Object> params);

    JsonResult saveWarehouseProductMarkPrice(WarehouseProductMarkPrice warehouseProductMarkPrice);

    Map computePriceDiameter(String type, String processId, String markId, String diameter);

    Map computePriceLength(String type, String processId, String markId, String warehouseLength);

    Map findLabelName(String id);

    Map findBundle(String type, String processId, String markId);

    Map findMark( String markId);
}
